.blog-category-container {
  padding: 0 25.2rem;
  border-bottom: 0.1rem solid var(--dm-gray-200);
  position: sticky;
  overflow: hidden;
  top: 0;
  z-index: 999;
  background-color: var(--dm-color-white);
}

.blog-category-container .category-tabs-list {
  display: flex;
  gap: 11rem;
  justify-content: space-between;
}

.blog-category-container .category-tabs-list li {
  cursor: pointer;
  border-bottom: 0.3rem solid transparent;
}

.blog-category-container .category-tabs-list li a {
  color: var(--dm-gray-500);
  font-size: 2rem;
  font-family: var(--dm-font-family-base);
  font-weight: var(--dm-font-h2-weight);

  /* 禁止换行 */
  white-space: nowrap;
}

.blog-category-container .category-tabs-list li.active {
  font-weight: bold;
  border-bottom: 0.3rem solid #15141c;
  padding-bottom: 3rem;
  cursor: pointer;
}

.details-app-show-content > section {
  display: none;
  padding: 4rem 21rem 12.8rem;
}

.details-category-show-content {
  background-color: #ccb5900f;
  padding: 6.7rem 20.9rem 7.7rem 21.1rem;
}

.details-category-show-content .latest-blog-content {
  width: 100%;
  background-color: var(--dm-color-bg-light);
  display: flex;
  margin-bottom: 11.3rem;
}

.details-category-show-content .latest-blog-content .left-blog-img {
  width: 83.7rem;
  height: 55.8rem;
}

.details-category-show-content .latest-blog-content .left-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details-category-show-content .latest-blog-content .rt-blog-info {
  padding: 6.9rem 3.9rem 3.5rem 8.7rem;
  width: calc(100% - 83.7rem);
}

.details-category-show-content
  .latest-blog-content
  .rt-blog-info
  .rt-blog-info-content {
  margin-bottom: 10.4rem;
}

.details-category-show-content
  .latest-blog-content
  .rt-blog-info
  .rt-blog-info-title {
  font-size: var(--dm-font-h1-size);
  font-weight: var(--dm-font-h1-weight);
  color: var(--dm-gray-500);
  margin-bottom: 2.4rem;
}

.details-category-show-content
  .latest-blog-content
  .rt-blog-info
  .rt-blog-info-describe {
  color: var(--dm-color-text);
  font-weight: var(--dm-font-body2-weight);
  line-height: var(--dm-font-body1-line);
  font-size: var(--dm-font-body2-size);
  margin-bottom: 6.6rem;

  /* 最多3行 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.details-category-show-content
  .latest-blog-content
  .rt-blog-info
  .rt-blog-info-btn {
  background-color: var(--dm-color-primary);
  color: var(--dm-color-white);
  border-radius: 0.4rem;
  font-size: var(--dm-font-body2-size);
  font-weight: var(--dm-font-body2-weight);
  padding: 1rem 1.5rem;
}

.details-category-show-content
  .latest-blog-content
  .rt-blog-info
  .rt-blog-visits {
  color: var(--dm-color-subtext);
  display: flex;
  justify-content: space-between;

  /* flex-direction: column; */
}

.details-category-show-content
  .latest-blog-content
  .rt-blog-info
  .rt-blog-visits
  .rt-blog-visits-icon {
  display: flex;
  align-items: center;
  font-size: var(--dm-font-body-text);
  font-weight: var(--dm-font-body-weight);
  gap: 0.3rem;
}

.details-category-show-content .blog-surplus-content .surplus-content-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 5.2rem;
}

.details-category-show-content
  .blog-surplus-content
  .surplus-content-list
  .surplus-content-item {
  width: 48.2rem;

  /* height: 65.8rem; */
}

.details-category-show-content
  .blog-surplus-content
  .surplus-content-list
  .surplus-content-item
  .blogs-img {
  width: 48.2rem;
  height: 32.2rem;
}

.details-category-show-content
  .blog-surplus-content
  .surplus-content-list
  .surplus-content-item
  .blogs-img
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details-category-show-content
  .blog-surplus-content
  .surplus-content-list
  .surplus-content-item
  .blogs-content-body {
  padding: 3rem 2.2rem 1.8rem;
  box-sizing: border-box;
  gap: 3rem;
  display: flex;
  flex-direction: column;
  background-color: var(--dm-color-white);
  justify-content: space-between;
}

.details-category-show-content
  .blog-surplus-content
  .surplus-content-list
  .surplus-content-item
  .blogs-content-body
  .blogs-copy-area {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.details-category-show-content
  .blog-surplus-content
  .surplus-content-list
  .surplus-content-item
  .blogs-content-body
  .blogs-copy-area
  .products-title {
  color: var(--dm-gray-500);
  font-size: var(--dm-font-h3-size);
  font-family: var(--dm-font-family-base);
  font-weight: var(--dm-font-h2-weight);
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.details-category-show-content
  .blog-surplus-content
  .surplus-content-list
  .surplus-content-item
  .blogs-content-body
  .blogs-copy-area
  .products-desc {
  color: var(--dm-gray-400);
  font-family: var(--dm-font-family-base);
  font-size: var(--dm-font-body1-size);
  line-height: var(--dm-font-body1-line);
  font-weight: var(--dm-font-body-weight);

  /* 三行文字省略 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.details-category-show-content
  .blog-surplus-content
  .surplus-content-list
  .surplus-content-item
  .blogs-content-body
  .blogs-copy-area
  .products-title:hover {
  text-decoration: underline;
  color: var(--dm-color-primary);
  cursor: pointer;
}

.details-category-show-content
  .blog-surplus-content
  .surplus-content-list
  .surplus-content-item
  .blogs-content-body
  .blogs-copy-area
  .blogs-more {
  width: 12.7rem;
  height: 4.2rem;
  border: 0.1rem solid var(--dm-color-primary);
  border-radius: 0.4rem;
  color: var(--dm-color-primary);
  font-family: var(--dm-font-family-base);
  font-size: var(--dm-font-body1-size);
  font-weight: var(--dm-font-h2-weight);
}

.details-category-show-content
  .blog-surplus-content
  .surplus-content-list
  .surplus-content-item
  .blogs-content-body
  .blogs-read {
  color: var(--dm-color-subtext);
  font-size: var(--dm-font-body-text);
  font-weight: var(--dm-font-body-weight);
  display: flex;
  justify-content: space-between;
}

.details-category-show-content
  .blog-surplus-content
  .surplus-content-list
  .surplus-content-item
  .blogs-content-body
  .blogs-read
  .blogs-info {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* 订阅 */
.category-subscribe-content {
  padding: 0 34.2rem 12.8rem 38rem;
}

.category-subscribe-content .category-subscribe-title {
  color: var(--dm-color-primary);
  font-size: var(--dm-font-h1-size);
  font-weight: var(--dm-font-h1-weight);
  text-align: center;
  font-family: var(--dm-font-family-base);
  margin-bottom: 5.8rem;
}

.category-subscribe-content .form-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.6rem; /* 间距 */
  min-width: 68.9rem;
  margin: 0 auto;
  justify-content: space-between;
}

.category-subscribe-content .form-content .form-item {
  display: flex;
  flex-direction: column;
  flex: 0 0 53.9rem; /* 固定每个卡片宽度为539px */
  min-width: 0; /* 防止内容溢出 */
  box-sizing: border-box;
}

.category-subscribe-content .form-content .form-item-label {
  font-family: var(--dm-font-family-base);
  color: var(--dm-color-dark);
  font-weight: var(--dm-font-h1-weight);
  font-size: var(--dm-font-body1-size);
  line-height: var(--dm-font-body2-line);
}

.category-subscribe-content .form-content .form-item .dm-item-input {
  margin-top: 0.7rem;
  width: 100%;
  border-bottom: 1px solid var(--dm-gray-900) !important;
}

.category-subscribe-content .form-content .form-item .dm-item-input input {
  width: 100%;
  height: 3rem;
  line-height: 3rem;
  font-size: var(--dm-font-body1-size);
}

.category-subscribe-content .form-content .form-item .google-verification {
  margin-top: 1.5rem;
}

.category-subscribe-content .form-content .form-item .required-prompt {
  margin-top: 1.5rem;
}

.category-subscribe-content
  .form-content
  .form-item
  .required-prompt
  .required-prompt-text {
  color: #868686;
  font-size: var(--dm-font-body-text);
}

.category-subscribe-content
  .form-content
  .form-item
  .required-prompt
  .required-prompt-text::before {
  content: '*';
  color: #ff5858;
}

.category-subscribe-content .form-content .error-message {
  font-size: var(--dm-font-body-text);
  color: var(--dm-color-warning);
  font-family: var(--dm-font-family-base);
  visibility: hidden;
  opacity: 0;
  margin-top: 0.4rem;
  transition: opacity 0.3s ease;
}

.category-subscribe-content .form-content .error-message.show {
  visibility: visible;
  opacity: 1;
}

.category-subscribe-content
  .form-content
  .form-item
  .item-call-back
  .call-tips {
  font-size: var(--dm-font-body2-size);
  color: var(--dm-gray-300);
}

.category-subscribe-content .dm-dialog-btn {
  font-size: var(--dm-font-body1-size);
  background-color: var(--dm-color-primary);
  border-radius: 0.4rem;
  font-weight: var(--dm-font-body-weight);
  color: var(--dm-color-white);
  padding: 1rem 3.3rem;
  font-family: var(--dm-font-family-primary);
  margin-top: 3rem;
}

.category-subscribe-content .subscribe-btn-container {
  text-align: center;
}

.category-subscribe-content .subscribed-success-container {
  text-align: center;
}

.category-subscribe-content .subscribed-success-container .subscribed-title {
  font-size: var(--dm-font-h1-size);
  font-weight: var(--dm-font-h1-weight);
  color: var(--dm-color-primary);
  margin-bottom: 3rem;
}

.category-subscribe-content .subscribed-success-container .subscribed-content {
  font-size: var(--dm-font-body1-size);
  font-weight: var(--dm-font-body1-weight);
  color: var(--dm-color-text);
}

@media (width <= 768px) {
  .blog-category-container {
    padding: 0 3.3rem;
  }

  .blog-category-container .category-tabs-list {
    flex-flow: wrap;
    gap: 2.8rem 11rem;
  }

  .blog-category-container .category-tabs-list li.active {
    padding-bottom: 2.1rem;
  }

  .blog-category-container .category-tabs-list li {
    padding-bottom: 2.1rem;
  }

  .details-category-show-content {
    padding: 4.2rem 2.9rem 3.3rem;
  }

  .details-category-show-content .latest-blog-content {
    flex-direction: column;
    background-color: transparent;
  }

  .details-category-show-content .latest-blog-content .left-blog-img {
    width: 100%;
    height: 45.9rem;
  }

  .details-category-show-content .latest-blog-content .rt-blog-info {
    width: calc(100% - 0rem);
    padding: 0;
    margin-top: 8rem;
  }

  .details-category-show-content
    .latest-blog-content
    .rt-blog-info
    .rt-blog-info-describe {
    margin-bottom: 3.3rem;
  }

  .details-category-show-content
    .latest-blog-content
    .rt-blog-info
    .rt-blog-info-btn {
    width: 26.7rem;
    height: 9.6rem;
    font-size: 3.4rem;
    font-weight: 700;
  }

  .details-category-show-content
    .latest-blog-content
    .rt-blog-info
    .rt-blog-info-content {
    margin-bottom: 4.2rem;
  }

  .details-category-show-content
    .latest-blog-content
    .rt-blog-info
    .rt-blog-visits
    .rt-blog-visits-icon {
    font-size: 2.6rem;
  }

  .details-category-show-content .blog-surplus-content .surplus-content-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .details-category-show-content
    .blog-surplus-content
    .surplus-content-list
    .surplus-content-item {
    width: 33.4rem;
  }

  .details-category-show-content
    .blog-surplus-content
    .surplus-content-list
    .surplus-content-item
    .blogs-img {
    width: 33.4rem;
  }

  .details-category-show-content
    .blog-surplus-content
    .surplus-content-list
    .surplus-content-item
    .blogs-content-body {
    padding: 1.9rem 1.1rem;
  }

  .details-category-show-content
    .blog-surplus-content
    .surplus-content-list
    .surplus-content-item
    .blogs-content-body
    .blogs-copy-area
    .blogs-more {
    width: 25.8rem;
    height: 7.6rem;
    font-weight: 700;
  }

  .details-category-show-content
    .blog-surplus-content
    .surplus-content-list
    .surplus-content-item
    .blogs-content-body
    .blogs-read {
    font-size: 2.6rem;
  }

  /* <!-- 订阅 --> */
  .category-subscribe-content {
    padding: 0 3.3rem 12.8rem;
  }

  .category-subscribe-content .form-content {
    min-width: 100%;
  }

  .category-subscribe-content .form-content .form-item {
    flex: 0 0 100%;
  }

  .category-subscribe-content .form-content .form-item .dm-item-input input {
    height: 5.6rem;
  }

  .category-subscribe-content .form-content .error-message.show {
    height: 4.2rem;
    font-size: 3.4rem;
  }

  .category-subscribe-content
    .form-content
    .form-item
    .required-prompt
    .required-prompt-text {
    font-size: 2.6rem;
  }

  .category-subscribe-content .dm-dialog-btn {
    padding: 2.6rem 4.5rem;
  }
}
